html {
  font: 18px/40px slice, sans-serif;
  background-color: #efb4b4;
  color: #111;
}
body {
  margin: 0;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
svg #地名 {
  pointer-events: none;
}
a {
  color: #111;
  cursor: pointer;
  text-decoration: none;
}
::selection {
  background-color: #FF7E7E;
}
#设置等级 {
  display: none;
  position: absolute;
  z-index: 1;
  background: #FFF;
  width: 140px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 6px 0 rgba(0, 0, 0, 0.1);
  border: 4px solid #000;
  text-align: center;
}
#设置等级 h2 {
  margin: 0;
  font-weight: normal;
  font-size: 26px;
  line-height: 40px;
  cursor: default;
}
#设置等级 a {
  line-height: 24px;
  cursor: pointer;
}
#设置等级 h2,
#设置等级 a {
  display: block;
  padding: 4px 10px;
}
#设置等级 h2[data-level="5"],
#设置等级 a[data-level="5"] {
  background: #FF7E7E;
}
#设置等级 h2[data-level="4"],
#设置等级 a[data-level="4"] {
  background: #FFB57E;
}
#设置等级 h2[data-level="3"],
#设置等级 a[data-level="3"] {
  background: #FFE57E;
}
#设置等级 h2[data-level="2"],
#设置等级 a[data-level="2"] {
  background: #A8FFBE;
}
#设置等级 h2[data-level="1"],
#设置等级 a[data-level="1"] {
  background: #88AEFF;
}
.按钮 {
  background: #FFF;
  box-shadow: 0 0 0 4px #111;
  border-radius: 3px;
}
footer {
  position: absolute;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0);
  margin: 20px;
  font-size: 24px;
  line-height: 30px;
  transition: opacity 1s ease;
}
footer a {
  float: left;
  padding: 8px 12px;
}
footer a.按钮 {
  margin-left: 12px;
}
#输出图像 {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #FFF;
  text-align: center;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
#输出图像 img {
  display: block;
  width: 480px;
  height: 480px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
#输出图像 .按钮 {
  padding: 8px 12px;
  box-shadow: 0 0 0 2px #111;
}
@media (max-width: 800px), (max-height: 800px) {
  html {
    font-size: 14px;
  }
  footer {
    font-size: 16px;
    line-height: 24px;
    margin: 10px;
  }
  footer a {
    padding: 6px 8px;
  }
  .按钮 {
    box-shadow: 0 0 0 2px #111;
  }
  #设置等级 {
    width: 110px;
    border-width: 2px;
  }
  #设置等级 h2 {
    font-size: 18px;
    line-height: 30px;
  }
  #设置等级 a {
    font-size: 14px;
    line-height: 18px;
  }
}
@media (max-width: 480px) and (min-height: 600px) {
  footer {
    bottom: 50px;
  }
  #输出图像 img {
    width: 100vw;
    height: 100vw;
  }
}
html[data-loading] footer {
  pointer-events: none;
  opacity: 0;
}
html[data-running] {
  cursor: wait;
}
html[data-running] body {
  pointer-events: none;
}
